package com.miyuan.wm.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.miyuan.wm.pojo.RecordStorageEntity;
import com.miyuan.wm.request.QueryRecordStorageRequestVo;
import com.miyuan.wm.response.QueryRecordStorageResponseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName RecordStorageMapper
 * @Description 库存记录数据库操作

 */
@Mapper
public interface RecordStorageMapper extends BaseMapper<RecordStorageEntity> {

    /**
     * @Description 查询库存信息列表
     * @param:
     * @return:

     */
    List<QueryRecordStorageResponseVo> listRecordStorage(Page<RecordStorageEntity> page, @Param(value = "dto") QueryRecordStorageRequestVo dto);
}
